import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

//默认导出，给main.js使用
export default pinia

//模块统一导出
export * from './modules/user'
